package com.example.Repository;


import com.example.pojo.Result;
import com.example.pojo.dto.CommentDto;
import com.example.pojo.vo.CommentVo;

import java.util.List;

/**
 * @author crt
 */
public interface CommentRepository {

    Result<String> addComment(CommentDto commentDto);

    Result<List<CommentVo>> getCommentList(Integer trendsId);

    Result<String> deleteComment(Integer commentId);
}
